<?php
class MY_Validation extends CI_Validation {
    /**
     * Alpha-numeric with underscores, dashes and spaces
     *
     * @access    public
     * @param    string
     * @return    bool
     */    
    function alpha_dash_space($str)
    {
        return ( ! preg_match("/^([-a-z0-9_- ])+$/i", $str)) ? FALSE : TRUE;
    }
    
}
?>
